← Return to Hub

MAME Arcade Palette Converter

Convert arcade palette data to RGB hex format (Ghosts 'n Goblins style)

📁 Upload Existing TPL File

Upload a TPL file to automatically populate both RGB and Arcade input fields with the extracted palette data.

Palette Input

Format: Ghosts 'n Goblins stores colors in two strings. First string has R and G combined (each byte = [R_first_digit][G_first_digit]). Second string has B values (only the first digit of each byte is used).

💡 How to use:

  • RGB → Arcade: Enter RGB hex colors and click "Convert to Arcade Goblins Format"
  • Arcade → RGB: Enter arcade palette data and click "Convert to RGB Hex"
  • Use the tabs to switch between input formats
  • Click "Convert to TPL" to generate a Tile Layer Pro palette file
  • Click "Download TPL File" to save the binary TPL file
  • Upload a TPL file to automatically extract palette data

🎮 Ghosts 'n Goblins Palette Format

Palette Format:

Ghosts 'n Goblins uses a single-byte palette format where each color is represented by one byte (two hex digits). The palette consists of 16 colors.

📁 Arcade Goblins Format - RG String (R and G combined)

06 00 CA A8 75 54 88 66 44 99 84 60 AA C0 C7 00

Each byte contains [R_first_digit][G_first_digit]

📁 Arcade Goblins Format - B String (B values)

B0 00 80 60 00 00 A0 80 60 00 00 00 C0 00 00 00

Only the first digit of each byte is used for the B component.

🎨 RGB Equivalent

0066bb 000000 ccaa88 aa8866 775500 554400 8888aa 666688 444466 999900 884400 660000 aaaacc cc0000 cc7700 000000

This is the RGB hex representation. Each color combines one byte from the RG string and the first digit from the B string.